package com.keepsport.keepsportapi.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.keepsport.keepsportapi.entity.Activity;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

public interface ActivityDao extends BaseMapper<Activity> {
    @Update("update t_activity set flag=#{flag} where id=#{id}")
    int updateFlag(@Param("id")int id,@Param("flag")int flag);

}
